package com.gimi.cloud.jimi.app.consumer.service.user;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.multipart.MultipartFile;


/**
 * 用户相关信息
 * @author chendi
 * @date 2017年12月27日
 */
public interface UserInfoService {
	/**
	 * 新增详细信息
	 * @param requestBody
	 */
	void  addUserInfo(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws Exception;

    /**
     * 根据user_id获取单个用户信息
     * @return 
     */
    void getUserInfoSingle(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws Exception;


    /**
     * 更新用户详情信息
     */
    void updateUserInfo(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws Exception;

    /**
     * 上传身份证等图片,其中front为身份证正面，back为身份证背面，avatar为身份证小头像，hand为人脸识别的照片
     */
    void uploadCardPhoto(HttpServletResponse response, HttpServletRequest request);
    /**
     * App端更新用户详情信息
     */
    void updateUserIdInfo(String requestData, HttpServletResponse response, HttpServletRequest request);
    /**
     * App端获取用户详情信息
     */
    void getUserInfo(String requestData, HttpServletResponse response, HttpServletRequest request);
    /**
     * App端更新用户银行卡信息
     */
    void updateUserbankcard(String requestData, HttpServletResponse response, HttpServletRequest request);
    /**
     * App端连连支付签约绑卡前的字符串拼接
     */
    void bankCardSign(String requestData, HttpServletResponse response, HttpServletRequest request);

    void getUserBankcard(String requestData, HttpServletResponse response, HttpServletRequest request);
}
